package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallSearchHistory;
import com.project.mall.bean.generator.CskaoyanmallSearchHistoryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallSearchHistoryMapper {
    long countByExample(CskaoyanmallSearchHistoryExample example);

    int deleteByExample(CskaoyanmallSearchHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallSearchHistory record);

    int insertSelective(CskaoyanmallSearchHistory record);

    List<CskaoyanmallSearchHistory> selectByExample(CskaoyanmallSearchHistoryExample example);

    CskaoyanmallSearchHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallSearchHistory record, @Param("example") CskaoyanmallSearchHistoryExample example);

    int updateByExample(@Param("record") CskaoyanmallSearchHistory record, @Param("example") CskaoyanmallSearchHistoryExample example);

    int updateByPrimaryKeySelective(CskaoyanmallSearchHistory record);

    int updateByPrimaryKey(CskaoyanmallSearchHistory record);
}